package com.itheima.service;

import jakarta.mail.MessagingException;

/**
 * @Author: Insight
 * @Description: TODO
 * @Date: 2024-06-03 10:39
 * @Version: 1.0
 */
public interface IValidationService {
    void saveCode(String email, String code, Integer type) throws MessagingException;
    void validateCode(String email, String code, Integer type);
}
